import AppContext from "./context.ts";
import "./event.ts";

//打包的时候需要把替换成./resource/"

const ctx = new AppContext();
ctx.start();
dispatchEvent(new CustomEvent("started"));
//@ts-ignore: 自定义全局context
globalThis.applicationContext = ctx;